#ifndef __BEEP_STM32F4XX_hal_H
#define __BEEP_STM32F4XX_hal_H

#include "stdint.h"

/* items for pulse selection*/
#define BEEP_ENABLE_SINGAL 0x01
#define BEEP_ENABLE_SONG 0x02
#define BEEP_ENABLE_ALARM 0x04


void TIM4_Pulse_Select(void);
void HAL_BEEP_TONE(uint8_t tone, signed char pitch, uint8_t period);
void HAL_BEEP_Song(uint16_t *music,int n);
void HAL_BEEP_Transmit(uint16_t pvalue);

#endif
